package pers.mihao.quickstream.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import pers.mihao.quickstream.common.model.BaseDO;


/**
 * @author mihao
 * @since 2024/11/14
 */
public interface CommonMapper<T extends BaseDO> extends BaseMapper<T> {

    int updateByIdWithVersion(@Param(Constants.ENTITY) T entity);



}
